<%-- 
    Document   : jsptestpage
    Created on : 2012-8-17, 14:35:23
    Author     : Peng Cui
--%>

<%@page language="java" import="java.util.ArrayList" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        
        <%@page import="java.util.*,java.lang.*" session="true" info="12323" %>
  
        <%
            String testString = "testString";
         %>
        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body  style="text-align: center;">
        <h1>Hello World!12345</h1>
        <%
            if (1 == 1) 
            {
                Date date = new Date();
                ArrayList test = new ArrayList();
                String test123 = "This message is in a if block.";
                testString = testString + " gogogo";
                
                out.println(test123+"haha");
            }
        %>
        <p>
        <h1  style="color: red;"><%=testString%></h1>
        
        <%@include file="page2.jsp" %>
        
        <jsp:include page="page2.jsp">
            <jsp:param name="tester" value="aaa"></jsp:param>            
        </jsp:include>
        <%--
        <jsp:forward page="page2.jsp">
            <jsp:param name="tester" value="hahah"></jsp:param>
        </jsp:forward> 
        --%>
        
        
        <%@include file="backPage.jsp" %>
    </body>
</html>
